/**
 * 
 */
package com.ccqlk.attendance.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Copyright 2015-2018 重庆鲁控科技有限公司<br>
 * 文件标题: DateModel<br>
 * 文件说明: TODO<br>
 * @author ZhangYinxian 348893009@qq.com<br>
 * 创建时间 2016年5月27日 下午3:56:48<br>
 */
public abstract class DateModel implements Serializable {
	
	private static final long serialVersionUID = 2733861522048687279L;

	@Temporal(TemporalType.TIMESTAMP)
	private Date addtime;
	
	@Temporal(TemporalType.TIMESTAMP)
	private Date edittime;

	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	public Date getAddtime() {
		return addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	public Date getEdittime() {
		return edittime;
	}

	public void setEdittime(Date edittime) {
		this.edittime = edittime;
	}
	
	
}
